package com.kc.business.service;

import com.kc.business.domain.BizScenicBusinessType;

import java.util.List;

/**
 * TODO
 * 商家类别
 *
 * @author zhangshuo
 * @version 1.0
 * @date 2020/9/11
 */

public interface IBizScenicBusinessTypeService {
    /**
     * 查询类别列表
     *
     * @param bizScenicBusiness
     * @return
     */
    public List<BizScenicBusinessType> getList(BizScenicBusinessType bizScenicBusiness);

    /**
     * 新增类别
     *
     * @param bizScenicBusiness
     * @return
     */
    public int add(BizScenicBusinessType bizScenicBusiness);

    /**
     * 修改类别
     *
     * @param bizScenicBusiness
     * @return
     */
    public int edit(BizScenicBusinessType bizScenicBusiness);


    /**
     * 构建树形类别
     *
     * @param types
     * @return
     */
    public List<BizScenicBusinessType> buildTypes(List<BizScenicBusinessType> types);

}
